package com.first.computerstore.query;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 订单状态更新的参数类
 * 需要uid(作为修改人），oid，status，修改时间
 */
public class OrderStatusUpdate {
    private Integer oid;
    private Integer status = 3;
    private Integer modifiedUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modifiedTime;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getmodifiedUser() {
        return modifiedUser;
    }

    public void setmodifiedUser(Integer modifiedUser) {
        this.modifiedUser = modifiedUser;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}
